<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" min="0" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Meeting_title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-meeting_title" data-rule="required" class="form-control" name="row[meeting_title]" type="text" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Emcee_user_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-emcee_user_id" data-rule="required" data-source="emcee/user/index" class="form-control selectpage" name="row[emcee_user_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Meeting_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-meeting_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[meeting_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-address" class="form-control" name="row[address]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Attendee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-attendee" class="form-control" name="row[attendee]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Report_user_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-report_user_id" data-rule="required" data-source="report/user/index" class="form-control selectpage" name="row[report_user_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Charge_user_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-charge_user_id" data-rule="required" data-source="charge/user/index" class="form-control selectpage" name="row[charge_user_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Meeting_content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-meeting_content" class="form-control editor" rows="5" name="row[meeting_content]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Meeting_images')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-meeting_images" class="form-control" size="50" name="row[meeting_images]" type="textarea">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-meeting_images" class="btn btn-danger faupload" data-input-id="c-meeting_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-meeting_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-meeting_images" class="btn btn-primary fachoose" data-input-id="c-meeting_images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-meeting_images"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-meeting_images"></ul>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
